package cn.krui.project.bean.system.sys_menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

@ApiModel(value = "sys_menu", description = "系统菜单实体类")
public class sys_menu {
    @ApiModelProperty(value = "主键id")
    private  Integer id;
    @ApiModelProperty(value = "父级id")
    private  Integer pid;
    @ApiModelProperty(value = "父级名称")
    private  String p_name;
    @ApiModelProperty(value = "菜单名称")
    private  String menu_name;
    @ApiModelProperty(value = "菜单链接")
    private  String link_url;
    @ApiModelProperty(value = "排序")
    private  Integer sort;
    @ApiModelProperty(value = "级别")
    private  Integer level;
    @ApiModelProperty(value = "状态")
    private  Integer status;
    @ApiModelProperty(value = "父级菜单code")
    private  String parent_code;
    @ApiModelProperty(value = "菜单code")
    private  String code;
    @ApiModelProperty(value = "菜单code加密")
    private  String code_aes;
    @ApiModelProperty(value = "菜单图标")
    private  String iconCls;
    @ApiModelProperty(value = "是否展开")
    private  Integer expanded;
    @ApiModelProperty(value = "路由地址")
    private String router_path;
    @ApiModelProperty(value = "菜单类型：菜单=1 详情=2")
    private Integer menu_type;
    @ApiModelProperty(value = "适用类型：通用=0 管理端=1 商户端=2")
    private Integer user_type;
    public Integer getUser_type() {
		return user_type;
	}
	public void setUser_type(Integer user_type) {
		this.user_type = user_type;
	}
	@ApiModelProperty(value = "菜单子集合")
    private List<sys_menu> children;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	public String getP_name() {
		return p_name;
	}
	public void setP_name(String p_name) {
		this.p_name = p_name;
	}
	public String getMenu_name() {
		return menu_name;
	}
	public void setMenu_name(String menu_name) {
		this.menu_name = menu_name;
	}
	public String getLink_url() {
		return link_url;
	}
	public void setLink_url(String link_url) {
		this.link_url = link_url;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getParent_code() {
		return parent_code;
	}
	public void setParent_code(String parent_code) {
		this.parent_code = parent_code;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCode_aes() {
		return code_aes;
	}
	public void setCode_aes(String code_aes) {
		this.code_aes = code_aes;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public Integer getExpanded() {
		return expanded;
	}
	public void setExpanded(Integer expanded) {
		this.expanded = expanded;
	}
	public String getRouter_path() {
		return router_path;
	}
	public void setRouter_path(String router_path) {
		this.router_path = router_path;
	}
	public Integer getMenu_type() {
		return menu_type;
	}
	public void setMenu_type(Integer menu_type) {
		this.menu_type = menu_type;
	}
	public List<sys_menu> getChildren() {
		return children;
	}
	public void setChildren(List<sys_menu> children) {
		this.children = children;
	}
    
}
